﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ListRewardJobs.aspx.cs" Inherits="lcmyjobs.Web.findjobs.ListRewardJobs" %>

<%@ Register Src="../Controls/TopUserJobsNavigation.ascx" TagName="TopUserJobsNavigation"
    TagPrefix="uc1" %>
<%@ Register src="../Controls/UserAndEnterpriseLogin.ascx" tagname="UserAndEnterpriseLogin" tagprefix="uc2" %>
<%@ Register Src="../Controls/NewsList.ascx" TagName="NewsList" TagPrefix="uc3" %>
<%@ Register assembly="AspNetPager" namespace="Wuqi.Webdiyer" tagprefix="webdiyer" %>
<%@ Register src="../Controls/Bottom8.ascx" tagname="Bottom8" tagprefix="uc4" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>求职中心-悬赏职位</title>
    <link href="../css/style.css" rel="stylesheet" type="text/css" />
    <script src="../js/jquery.js" type="text/javascript" language="javascript"></script>
    <script type="text/javascript" language="javascript">
        $().ready(function () {
            //showtime();
            $(".qzzx_daohang ul li a").eq(4).attr("class", "zgz_activ");


        });
    </script>
    <style type="text/css">

        .newsListAscxTop ul li
        {
            background: url('../css/images/dian.png') no-repeat left center;
            padding: 6px 0px 5px 12px;
            border-bottom: 1px #d3e1ed dotted;
        }
        .newsListAscxBottom
        {
            clear: both;
            padding: 3px 20px 3px 20px;
            text-align: right;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div id="lo_wrap">
        <uc1:TopUserJobsNavigation ID="TopUserJobsNavigation1" runat="server" />
        <div class="ny_center">
            <div class="ny_ctleft">
                <uc2:UserAndEnterpriseLogin ID="UserAndEnterpriseLogin1" runat="server" />
                <div class="nygz_login">
                    <p class="log_btb">职业规划</p>
                    <div class="xuns_div">
                        <uc3:NewsList ID="News_jyzd" runat="server" target="_blank"/>
                    </div>
                </div>
            </div>
            <div class="ny_right">
                <div class="tabbox">
                    <p class="nyvip_bt">
                        悬赏职位</p>
                    <div class="tabcon">
                       <asp:GridView ID="gv_rewardJobs" runat="server" AutoGenerateColumns="False" EnableModelValidation="True"
                            GridLines="None" CssClass="jpzw_tab" >
                            <AlternatingRowStyle BackColor="#ffffff" />
                            
                            <Columns>
                                <asp:TemplateField HeaderText="编号" HeaderStyle-Width="90px">
                                    <ItemTemplate>
                                        <span style="padding-right:5px;font-weight:bold; color:#ff6600;">赏</span><asp:HyperLink ID="HyperLink1" Style="color: #1e6db0" runat="server" NavigateUrl='<%# "../reward/enlistjobs-"+Eval("enterprise_rid")+"-"+Eval("enterprise_reward_id") + ".html" %>'
                                            Text='<%# GetBH(Eval("enterprise_reward_id").ToString()) %>' Target="_blank" ></asp:HyperLink>
                                    </ItemTemplate>
                                    
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="悬赏职位">
                                    <ItemTemplate>
                                        <asp:HyperLink ID="HyperLink2" runat="server" 
                                            NavigateUrl='<%# "../reward/enlistjobs-"+Eval("enterprise_rid")+"-"+Eval("enterprise_reward_id") + ".html" %>' 
                                            Style="color: #1e6db0" Text='<%# lcmyjobs.BLL.Tools.GetStrSub(Eval("jobs_name").ToString(),15) %>' Target="_blank"></asp:HyperLink>
                                    </ItemTemplate>
                                    <EditItemTemplate>
                                        <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("jobs_name") %>'></asp:TextBox>
                                    </EditItemTemplate>
                                    
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="工作地区" HeaderStyle-Width="130px">
                                    <ItemTemplate>
                                        <asp:Label ID="Label1" runat="server" CssClass="workarea" Text='<%# lcmyjobs.BLL.Tools.GetStrSub(Eval("area_name").ToString(),7) %>'></asp:Label>
                                    </ItemTemplate>
                                    
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="悬赏金额(元)" HeaderStyle-Width="110px">
                                    <ItemTemplate>
                                        <asp:Label ID="Label2" runat="server" Text='<%# Eval("price") %>'></asp:Label>
                                    </ItemTemplate>
                                    <EditItemTemplate>
                                        <asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("price") %>'></asp:TextBox>
                                    </EditItemTemplate>
                                </asp:TemplateField>
                                <asp:BoundField DataField="releasetime" HeaderText="发布日期" HeaderStyle-Width="110px" DataFormatString="{0:yyyy-MM-dd}" HtmlEncode="false" />
                            </Columns>
                            <RowStyle  HorizontalAlign="Center" />
                        </asp:GridView>
                        <div class="fenye">
                        <webdiyer:AspNetPager ID="AspNetPager1" OnPageChanged="AspNetPager1_PageChanged" runat="server" 
                        PageSize="20" CustomInfoTextAlign="Left" 
                        FirstPageText="首页" LastPageText="尾页" NextPageText="下一页" 
                        PrevPageText="上一页" CssClass="paginator" CurrentPageButtonClass="cpb"
                        CustomInfoHTML="&nbsp;共%PageCount%页" LayoutType="Table" 
                        ShowCustomInfoSection="Right" ShowNavigationToolTip="True" 
                        ShowPageIndexBox="Always" PageIndexBoxType="DropDownList" 
                        TextAfterPageIndexBox="&nbsp;页" TextBeforePageIndexBox="跳转至&nbsp;" 
                       CustomInfoSectionWidth="50px" 
                       ShowPageIndex="False" 
                       HorizontalAlign="Right">
                        </webdiyer:AspNetPager>
</div>
                    </div>
                </div>
                <!--tabcon end-->
            </div>
            <!--tabbox end-->
        </div>
       <uc4:Bottom8 ID="Bottom81" runat="server" />
    </div>
    
    </form>
</body>
</html>
